listObj.persistToStorage Method
/documentation/pages/Ref/Client_Api/UX/list object methods/persistToStorage Method.xml
Manually persists data in a List control to Local Storage or the device's File System.
Local Storage Methods
/documentation/pages/Ref/Client_Api/UX/UX methods/Local Storage/index.xml
Methods for saving data to and loading data from Local Storage in a UX Component.
onPersistControlValuesToLocalStorage
/documentation/pages/Guides/Mobile and Web Components/UX/Events/Client-Side Events/onPersistControlValuesToLocalStorage.xml
Fires when the value of the controls in the UX are persisted to Local Storage. The 'controlName' property is the control that triggered the event. The 'success' property is set to true/false depending on whether the data was successfully saved to Local Storage.
Persist list data where
/documentation/pages/Guides/Mobile and Web Components/UX/Controls/Props/Data/List Properties/listprops/List Prop/ListProp/Persist where.xml
Defines where data should be persisted in an application. Data can be persisted to Local Storage or a device's file system (Cordova applications only.)
Restore data in List controls from Local Storage (or File System)
/documentation/pages/Guides/Mobile and Web Components/UX/Properties/Local Storage/Restore data in List controls.xml
If enabled, List data persisted to Local Storage (or a device's file system) will be automatically restored when the app is opened.
Persist mode
/documentation/pages/Guides/Mobile and Web Components/UX/Controls/Props/Data/List Properties/listprops/List Prop/ListProp/Persist mode.xml
Defines what List data (edits only or all data) should be persisted to Local Storage.
Restore variables from Local Storage
/documentation/pages/Guides/Mobile and Web Components/UX/Properties/Local Storage/Restore variables from Local Storage.xml

If enabled, variables that were persisted to Local Storage will be restored when the app is opened. This property is only available when *[ui:Persist variable values]* is checked.

{dialog.object}._restoreVariablesFromLocalStorage Method
/documentation/pages/Ref/Client_Api/UX/UX methods/Local Storage/_restoreVariablesFromLocalStorage Method.xml
Restores persisted variables stored in Local Storage to the UX Component.
onBeforePersistControlValuesToLocalStorage
/documentation/pages/Guides/Mobile and Web Components/UX/Events/Client-Side Events/onBeforePersistControlValuesToLocalStorage.xml
Fires before the value of the controls in the UX are persisted to Local Storage. The purpose of this event is to allow you to capture arbitrary data and store it in local storage with the variable values. Your code can set the 'userData' property in the 'e' object. The value in 'userData' will be available when the 'onRestoreVariablesFromLocalStorage' event is fired. The 'controlName' property is the control that triggered the event.
Working Preview folder for Local Storage testing
/documentation/pages/Guides/Mobile and Web Components/UX/Properties/Local Storage/Working Preview folder.xml

The path to the folder where data persisted to Local Storage is saved while running the UX component in Working Preview. This property is only available when *[ui:Working Preview testing mode]* is set to 'Filesystem'.